function  getType(params) {
    return axios({
        'url': '/type/getType',
        'method': 'get',
        params
    })
}


const deleteType = (id) => {
    return axios({
        url: `/type`,
        method: 'delete',
        data: {id}
    })
}